Skip to content

Conversation

@jonathangreen
Copy link
Member

@jonathangreen jonathangreen commented Jan 28, 2026

Summary

  • Updates the entry point label mapping from "eBooks" to "Ebooks" to match the standardized terminology now used in the Formats facet from the groups feed
  • Updates related tests to use the new terminology
  • Fixes a pre-existing lint error ({} type) in EntryPointsTabs.tsx

References

}

/** This component renders a library's entrypoints as linked tabs. */
export class EntryPointsTabs extends React.Component<EntryPointsTabsProps, {}> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line failed eslint with:

circulation-admin/src/components/EntryPointsTabs.tsx
       17:76  error  Don't use `{}` as a type. `{}` actually means "any non-nullish value".
     - If you want a type meaning "any object", you probably want `object` instead.
     - If you want a type meaning "any value", you probably want `unknown` instead.
     - If you want a type meaning "empty object", you probably want `Record<string, never>` instead.
     - If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead  @typescript-eslint/ban-types

Not related to any change I made, but maybe got picked up because I modified this file.

@jonathangreen jonathangreen requested a review from a team January 28, 2026 19:57
Update the entry point label mapping and tests to use "Ebooks"
instead of "eBooks" to match the standardized terminology in the
Formats facet from the groups feed.
@jonathangreen jonathangreen force-pushed the feature/standardize-ebooks-terminology branch from ca8b50a to 6fb4fd4 Compare January 28, 2026 20:06
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@jonathangreen jonathangreen merged commit 6c9cb73 into main Jan 29, 2026
1 check passed
@jonathangreen jonathangreen deleted the feature/standardize-ebooks-terminology branch January 29, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants